Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: ensures ctrl+enter from textarea saves #566

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

jjaffeux
Copy link
Contributor

@jjaffeux jjaffeux commented Apr 24, 2024

This has regressed in recent changes, this commit fixes the issue and also adds a test.

@jjaffeux jjaffeux requested a review from jancernik April 24, 2024 13:48
@jjaffeux jjaffeux merged commit cbf3f3a into main Apr 24, 2024
@jjaffeux jjaffeux deleted the ctrl-enter-save branch April 24, 2024 13:54
@@ -41,7 +41,7 @@ export default class TopicAssignments extends Component {
</div>
<Assignment
@assignment={{this.selectedAssignment}}
@onSubmit={{this.submit}}
@onSubmit={{this.args.onSubmit}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@onSubmit={{this.args.onSubmit}}
@onSubmit={{@onSubmit}}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes shit, we don't have linting here 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants